-- GENERATED SPELL FOR [Frenzyheart Scavenger] --


function spell0_28081(pUnit, Event) --@Throw Spear,n/a--
pUnit:FullCastSpellOnTarget(54617,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_28081', 2500, 1)
end

function Sorts_28081(pUnit, Event)
local choix_sorts_28081 = math.random(0, 0)
if choix_sorts_28081 == 0 then
pUnit:RegisterEvent('spell0_28081', 1, 1)
end
end

function mob28081_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_28081', math.random(1500, 3000), 1)
end

function mob28081_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob28081_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob28081_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(28081, 1, 'mob28081_Action')
RegisterUnitEvent(28081, 2, 'mob28081_Leave')
RegisterUnitEvent(28081, 3, 'mob28081_Kill')
RegisterUnitEvent(28081, 4, 'mob28081_Die')
